import {defHttp} from "/@/utils/http/axios";
import { useMessage } from "/@/hooks/web/useMessage";

const { createConfirm } = useMessage();

enum Api {
  listAll = '/sys/sysDepart/listAll',
  list = '/monitor/seat/list',//获取席位
  diviceList = '/monitor/equipment/list',//设备
}
 
export const listAll = () => defHttp.get({url: Api.listAll});
 
/**
 * 席位列表接口
 * @param params
 */
export const list = (params) =>
  defHttp.get({url: Api.list, params});

 
/**
 * 设备列表接口
 * @param params
 */
export const diviceList = (params) =>
  defHttp.get({url: Api.diviceList, params});
 
